use "ENTER PATH HERE\data.dta", clear



*gamma_family= Family
*gamma_genderequality= Gender Equality
*gamma_health= Health
*gamma_violence= Violence
*gamma11= Budget
*gamma_poverty= Poverty






****Table OA1

by state, sort: tab year party if sex==1
by state, sort: tab year party if sex==2
tsset party_id year





****Table 2

generate d_gamma_family=d.gamma_family
generate d_gamma_genderequality=d.gamma_genderequality
generate d_gamma_health=d.gamma_health
generate d_gamma_violence=d.gamma_violence
generate d_gamma11=d.gamma11
generate d_gamma_poverty=d.gamma_poverty
sum gamma_poverty d_gamma_poverty gamma_health d_gamma_health gamma11 d_gamma11 gamma_violence d_gamma_violence gamma_genderequality d_gamma_genderequality gamma_family d_gamma_family 





****Figure OA2-OA7

vioplot gamma_poverty, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of poverty") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma_poverty, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of poverty") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA2.gph", replace

vioplot gamma_health, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of care") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma_health, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of care") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA3.gph", replace

vioplot gamma11, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of budget") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma11, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of budget") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA4.gph", replace

vioplot gamma_violence, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of violence") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma_violence, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of violence") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA5.gph", replace

vioplot gamma_genderequality, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of gender equality") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma_genderequality, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of gender equality") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA6.gph", replace

vioplot gamma_family, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Prevalence of family") xla(, nolabels) 
graph save "figurea.gph", replace
vioplot d_gamma_family, graphregion(color(white)) yla(, notick angle(0) nogrid) ytitle("Change in prevalence of family") xla(, nolabels) 
graph save "figureb.gph", replace
graph combine "figurea.gph" "figureb.gph", graphregion(color(white))
graph save "figureOA7.gph", replace





****Table OA4

foreach var of varlist gamma_poverty gamma_health gamma11 gamma_violence gamma_genderequality gamma_family {
  asdoc ttest `var', unequal by(sex)
}





****Table OA5

xtreg gamma_poverty ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1a
xtreg gamma_health ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1b
xtreg gamma11 ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1c
xtreg gamma_violence ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1d
xtreg gamma_genderequality ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1e
xtreg gamma_family ib2.sex ib6.party2 i.state2 i.year, vce(robust)
estimates store model1f

esttab model1a model1b model1c model1d model1e model1f using TableOA5.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace





****Figure 1

collapse party_women_share, by(year party state2)

graph twoway (line party_women_share year if party=="CDU" , connect(J) by(state2) lpattern(solid) lcolor(black) graphregion(color(white)) yla(, notick angle(0) nogrid) ) ///
 (line party_women_share year if party=="SPD", connect(J) by(state2) lpattern(solid) lcolor(red) graphregion(color(white)) yla(, notick angle(0) nogrid) ) ///
 (line party_women_share year if party=="AfD" , connect(J) by(state2) lpattern(solid) lcolor(yellow) graphregion(color(white)) yla(, notick angle(0) nogrid) ) ///
 (line party_women_share year if party=="FDP" , connect(J) by(state2) lpattern(solid) lcolor(yellow) graphregion(color(white)) yla(, notick angle(0) nogrid) ) ///
 (line party_women_share year if party=="GRNEN" , connect(J) by(state2) lpattern(solid) lcolor(green) graphregion(color(white)) yla(, notick angle(0) nogrid) ) ///
 (line party_women_share year if party=="DIE LINKE", connect(J) by(state2) lpattern(solid) lcolor(magenta) graphregion(color(white)) yla(, notick angle(0) nogrid) ) 

graph save "Figure1.gph", replace

 
	
	

use "ENTER PATH HERE\data.dta", clear

****Table A1; Figure 2 
* main model

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figure2a.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figure2b.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figure2c.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figure2d.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figure2e.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figure2f.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableA1.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figure2a.gph" "Figure2b.gph" "Figure2c.gph" "Figure2d.gph" "Figure2e.gph" "Figure2f.gph" , graphregion(color(white))
graph save "Figure2.gph", replace



* Figure A1

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figuref.gph", replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph", graphregion(color(white))

graph save "FigureA1.gph", replace




****Table OA6, Figure A2
* robustness test with third-order polynomial of the share of women in party parliamentary group

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off)  title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs14) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableOA6.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph", graphregion(color(white))

graph save "FigureA2.gph", replace



****Figure OA 8
xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref.gph", replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA8.gph", replace





*Table OA7
* robustness test with party fixed effects

xtreg d.gamma_family l.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1b

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1c

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1d

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1e

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1f

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe ib6.party2, vce(robust)
estimates store model1g

esttab model1a model1b model1c model1d model1e model1f using TableOA7.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace





****Table OA8
* robustness test with standard errors clustered at the party-state level

xtreg d.gamma_family l.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1b

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1c

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1d

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1e

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1f

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(cluster party_id)
estimates store model1g

esttab model1a model1b model1c model1d model1e model1f using TableOA8.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace





****Table OA9; Figure OA9
* robustness test with changes over two years as dependent variables

xtreg d2.gamma_poverty l2.gamma_poverty l1.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d2.gamma_health l2.gamma_health l1.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d2.gamma11 l2.gamma11 l1.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d2.gamma_violence l2.gamma_violence l1.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d2.gamma_genderequality l2.gamma_genderequality l1.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d2.gamma_family l2.gamma_family l1.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableOA9.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA9.gph", replace



****Figure OA10

xtreg d2.gamma_poverty l2.gamma_poverty l1.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d2.gamma_health l2.gamma_health l1.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d2.gamma11 l2.gamma11 l1.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d2.gamma_violence l2.gamma_violence l1.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d2.gamma_genderequality l2.gamma_genderequality l1.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d2.gamma_family l2.gamma_family l1.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("share of party women in %", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA10.gph", replace





****Table OA10 and Figure OA11
* robustness test with changes over three years as dependent variables

xtreg d3.gamma_poverty l3.gamma_poverty l2.gamma_poverty l1.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d3.gamma_health l3.gamma_health l2.gamma_health l1.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d3.gamma11 l3.gamma11 l2.gamma11 l1.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d3.gamma_violence l3.gamma_violence l2.gamma_violence l1.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d3.gamma_genderequality l3.gamma_genderequality l2.gamma_genderequality l1.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d3.gamma_family l3.gamma_family l2.gamma_family l1.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace


esttab model1a model1b model1c model1d model1e model1f using TableOA10.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA11.gph", replace



****Figure OA12

xtreg d3.gamma_poverty l3.gamma_poverty l2.gamma_poverty l1.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d3.gamma_health l3.gamma_health l2.gamma_health l1.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d3.gamma11 l3.gamma11 l2.gamma11 l1.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d3.gamma_violence l3.gamma_violence l2.gamma_violence l1.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d3.gamma_genderequality l3.gamma_genderequality l2.gamma_genderequality l1.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d3.gamma_family l3.gamma_family l2.gamma_family l1.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA12.gph", replace





****Table OA11; Figure OA13
* robustness test with additional confounders

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share ///
 party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share ///
 party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d.gamma_family l.gamma_family ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share=(8 (1) 62) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableOA11.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph", graphregion(color(white))

graph save "FigureOA13.gph", replace



****Figure OA14

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share ///
 party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share ///
 party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree.gph", replace

xtreg d.gamma_family l.gamma_family ib2.sex##c.party_women_share##c.party_women_share ///
party_positionsociety party_seatspercent ///
i.parlpresident_sex viceparlpresident_women parliament_women_share ///
 catholics i.cdu_governing ///
 i.elec_period_fe , vce(robust)
margins , dydx(party_women_share) at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("") legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref.gph", replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA14.gph", replace





****Table OA12; Figure OA15
* robustness test with categorical coding for the share of women in the party parliamentary group

generate party_women_share_ord=0
replace party_women_share_ord=1 if party_women_share<=15
replace party_women_share_ord=2 if party_women_share>15 & party_women_share<=33
replace party_women_share_ord=3 if party_women_share>33

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Poverty prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1b
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Health prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1c
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Budget prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1d
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Violence prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1e
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Gender equality prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##ib2.party_women_share_ord i.elec_period_fe , vce(robust)
estimates store model1f
margins , at(party_women_share_ord=(1 2 3) sex==(2 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) plot2opts(lcolor(gs12) lpattern(dash)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle("", margin(vsmall)) ytitle("")legend(off) title("Family prevalence", size(msmall)) yline(0, lcolor(black) lpattern(dot)) graphregion(color(white))
graph save "Figuref.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableOA12.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph", graphregion(color(white))

graph save "FigureOA15.gph", replace




****Table OA13; Figure OA16
* robustness test with interaction with parties’ ideological placements

generate left=0
replace left=1 if party=="SPD" | party=="GRNEN" | party=="DIE LINKE"

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1a
margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black))graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, Light-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea_l.gph", replace

graph combine "Figurea_r" "Figurea_l"
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1b

margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, Left-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea_l.gph", replace

graph combine "Figureb_r" "Figurea_l"
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1c

margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec_2_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, Left-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurec_2_l.gph", replace

graph combine "Figurec_2_r" "Figurec_2_l"
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1d

margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, Left-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figured_l.gph", replace

graph combine "Figured_r" "Figured_l"
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1e

margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, Left-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree_l.gph", replace

graph combine "Figuree_r" "Figuree_l"
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share##i.left i.elec_period_fe , vce(robust)
estimates store model1f

margins , at(party_women_share=(13 (1) 42) sex==(1) left==(0)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, Right-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref_r.gph", replace

margins , at(party_women_share=(17 (1) 60) sex==(1) left==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, Left-wing parties", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuref_l.gph", replace

graph combine "Figuref_r" "Figuref_l"
graph save "Figuref.gph", replace

esttab model1a model1b model1c model1d model1e model1f using TableOA13.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA16.gph", replace





****Table OA14-OA15; Figure OA17
* robustness test splitting states with and without CDU-led government

generate cdu_lead=0
replace cdu_lead=1 if state=="bw" | state=="hh" | state=="sl"

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1, vce(robust)
estimates store model1a1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea1.gph", replace

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0, vce(robust)
estimates store model1a2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea2.gph", replace

graph combine "Figurea1.gph" "Figurea2.gph", graphregion(color(white))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1, vce(robust)
estimates store model1b1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb1.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0, vce(robust)
estimates store model1b2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb2.gph", replace

graph combine "Figureb1.gph" "Figureb2.gph", graphregion(color(white))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1 , vce(robust)
estimates store model1c1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec1.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0 , vce(robust)
estimates store model1c2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec2.gph", replace

graph combine "Figurec1.gph" "Figurec2.gph", graphregion(color(white))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1, vce(robust)
estimates store model1d1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured1.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0, vce(robust)
estimates store model1d2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured2.gph", replace

graph combine "Figured1.gph" "Figured2.gph", graphregion(color(white))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1, vce(robust)
estimates store model1e1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree1.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0, vce(robust)
estimates store model1e2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree2.gph", replace

graph combine "Figuree1.gph" "Figuree2.gph", graphregion(color(white))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==1, vce(robust)
estimates store model1f1
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref1.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if cdu_lead==0, vce(robust)
estimates store model1f2
margins , at(party_women_share=(20 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, not CDU-led states", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref2.gph", replace

graph combine "Figuref1.gph" "Figuref2.gph", graphregion(color(white))
graph save "Figuref.gph", replace

esttab model1a1 model1a2 model1b1 model1b2 model1c1 model1c2 using TableOA14.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
esttab model1d1 model1d2 model1e1 model1e2 model1f1 model1f2 using TableOA15.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA17.gph", replace





****Table OA16-OA17; Figure OA18
* robustness test splitting states with and without woman state prime minister

generate women_sPM=0
replace women_sPM=1 if state=="hh" | state=="rlp" | state=="sl"

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1, vce(robust)
estimates store model1a1
margins , at(party_women_share=(12 (1) 62) sex==( 1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea1.gph", replace

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0, vce(robust)
estimates store model1a2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea2.gph", replace

graph combine "Figurea1.gph" "Figurea2.gph", graphregion(color(white))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1, vce(robust)
estimates store model1b1
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb1.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0, vce(robust)
estimates store model1b2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb2.gph", replace

graph combine "Figureb1.gph" "Figureb2.gph", graphregion(color(white))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1 , vce(robust)
estimates store model1c1
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec1.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0 , vce(robust)
estimates store model1c2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec2.gph", replace

graph combine "Figurec1.gph" "Figurec2.gph", graphregion(color(white))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1, vce(robust)
estimates store model1d1
margins , at(party_women_share=(12 (1) 62) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured1.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0, vce(robust)
estimates store model1d2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured2.gph", replace

graph combine "Figured1.gph" "Figured2.gph", graphregion(color(white))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1, vce(robust)
estimates store model1e1
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree1.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0, vce(robust)
estimates store model1e2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree2.gph", replace

graph combine "Figuree1.gph" "Figuree2.gph", graphregion(color(white))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==1, vce(robust)
estimates store model1f1
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, states with woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref1.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if women_sPM==0, vce(robust)
estimates store model1f2
margins , at(party_women_share=(8 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, states w/o woman sPM", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref2.gph", replace

graph combine "Figuref1.gph" "Figuref2.gph", graphregion(color(white))
graph save "Figuref.gph", replace

esttab model1a1 model1a2 model1b1 model1b2 model1c1 model1c2 using TableOA16.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
esttab model1d1 model1d2 model1e1 model1e2 model1f1 model1f2 using TableOA17.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA18.gph", replace





****Table OA18-OA19; Figure OA19
* robustness test splitting states with lower and higher shares of Catholics

generate catholic_high=0
replace catholic_high=1 if state=="bw" | state=="rlp" | state=="sl"

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1, vce(robust)
estimates store model1a1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea1.gph", replace

xtreg d.gamma_poverty l.gamma_poverty ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0, vce(robust)
estimates store model1a2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Poverty prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figurea2.gph", replace

graph combine "Figurea1.gph" "Figurea2.gph", graphregion(color(white))
graph save "Figurea.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1, vce(robust)
estimates store model1b1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb1.gph", replace

xtreg d.gamma_health l.gamma_health ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0, vce(robust)
estimates store model1b2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Health prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figureb2.gph", replace

graph combine "Figureb1.gph" "Figureb2.gph", graphregion(color(white))
graph save "Figureb.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1 , vce(robust)
estimates store model1c1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec1.gph", replace

xtreg d.gamma11 l.gamma11 ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0 , vce(robust)
estimates store model1c2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Budget prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figurec2.gph", replace

graph combine "Figurec1.gph" "Figurec2.gph", graphregion(color(white))
graph save "Figurec.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1, vce(robust)
estimates store model1d1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured1.gph", replace

xtreg d.gamma_violence l.gamma_violence ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0, vce(robust)
estimates store model1d2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force 
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Violence prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figured2.gph", replace

graph combine "Figured1.gph" "Figured2.gph", graphregion(color(white))
graph save "Figured.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1, vce(robust)
estimates store model1e1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree1.gph", replace

xtreg d.gamma_genderequality l.gamma_genderequality ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0, vce(robust)
estimates store model1e2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Gender equality prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot))
graph save "Figuree2.gph", replace

graph combine "Figuree1.gph" "Figuree2.gph", graphregion(color(white))
graph save "Figuree.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==1, vce(robust)
estimates store model1f1
margins , at(party_women_share=(8 (1) 50) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, states with high % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref1.gph", replace

xtreg d.gamma_family lc.gamma_family ib2.sex##c.party_women_share##c.party_women_share i.elec_period_fe if catholic_high==0, vce(robust)
estimates store model1f2
margins , at(party_women_share=(12 (1) 62) sex==(1)) force
marginsplot, recast(line) recastci(rline) plot1opts(lcolor(black)) graphregion(color(white)) yla(, notick angle(0) nogrid) xla(, notick) xtitle(" ", margin(vsmall)) ytitle("") legend(off) title("Family prevalence, states with low % catholics", size(msmall)) yline(0, lcolor(black) lpattern(dot)) 
graph save "Figuref2.gph", replace

graph combine "Figuref1.gph" "Figuref2.gph", graphregion(color(white))
graph save "Figuref.gph", replace

esttab model1a1 model1a2 model1b1 model1b2 model1c1 model1c2 using TableOA18.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace
esttab model1d1 model1d2 model1e1 model1e2 model1f1 model1f2 using TableOA19.rtf , b(3) se(3) label star(+ 0.1 * 0.05 ** 0.01 *** 0.001) ar2 r2 replace

graph combine "Figurea.gph" "Figureb.gph" "Figurec.gph" "Figured.gph" "Figuree.gph" "Figuref.gph" , graphregion(color(white))

graph save "FigureOA19.gph", replace
